let productid = getQueryString('productid')

const xhr1 = new XMLHttpRequest()
xhr1.open("get",`http://chst.vip:1234/api/getproductcom?productid=${productid}`)
xhr1.onload = function(){
    if(xhr1.status === 200){
        let res = JSON.parse(xhr1.responseText)
        console.log(res);
        let res1 = res.result
        console.log(res1)

        divs =`
        <div>
                <img src="" alt="">
            </div>
            <div></div>
            <div>
                <span></span>
                <span></span>
            </div>
            <div></div>
        `


        res1.forEach(item => {
            
            
        });
    }
}
xhr1.send(null)
